package com.three.iot.api;

import com.github.pagehelper.Page;
import com.three.iot.commons.dto.ProductCondDto;
import com.three.iot.commons.dto.ProductResultDto;
import com.three.iot.jdbc.model.TProductInfo;

import java.util.List;

public interface ProductService {
    List<TProductInfo> findAll();

    void saveProduct(TProductInfo tProductInfo);

    Page<ProductResultDto> listPage(ProductCondDto prodCondDto);

    void refreshProduct(int pageNum, String userNo);
}
